Request headers

Only registered user can perform this action
  Authentication - string - required
    Example of Authentication header : "Bearer TOKEN_FETCHED_FROM_SERVER_DURING_REGISTRATION"

Success response body

{
  "success": true
}

Params

Param name Description
id
required

Validations:

  • Must be a Integer

admin_password
optional

Validations:

  • Must be a String

password
optional

Validations:

  • Must be a String

role
optional

Validations:

  • Must be one of: , admin, super_admin.

fieldhouse_user
optional

Validations:

  • Must be one of: true, false, 1, 0.